package jax;

/**
 * ...
 * @author tom
 */
class JArray {
	public var length:Int;
	public var arr:Array<JValue>;
	public function new(len:Int) {
		length = len;
		arr = [];
	}
	public static function ofArray(arr:Array<JValue>) {
		var n = new JArray(arr.length);
		n.arr = arr;
		return n;
	}
	public function iterator() {
		return arr.iterator();
	}
}
